write a java program to find the duplicate words in a string

visit shbcf.ru